package com.ktjy.service.impl;
import com.ktjy.dao.SysUserMapper;
import com.ktjy.service.SysUserService;
import com.pojo.SysUser;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
@Service("sysUserService")
public class SysUserServiceImpl implements SysUserService {
    @Resource
    private SysUserMapper sysUserMapper;

    @Override
    public SysUser login(String account, String password) {
        return sysUserMapper.queryByAccountAndPwd(account,password);
    }
}
